-- *****************************************************************
-- REDSTONE-BGP-MIB
--
-- Redstone Communications Inc. Enterprise MIB
-- Extensions for BGP Protocol Management
--
-- Copyright 1998 Redstone Communications, Incorporated.
-- All Rights Reserved.
-- *****************************************************************

REDSTONE-BGP-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    Unsigned32,
    IpAddress
        FROM SNMPv2-SMI

    DisplayString,
    TruthValue,
    RowStatus
        FROM SNMPv2-TC

    MODULE-COMPLIANCE,
    OBJECT-GROUP
        FROM SNMPv2-CONF

    bgpPeerEntry,
    bgp4PathAttrEntry,
    bgp4PathAttrIpAddrPrefix,
    bgp4PathAttrIpAddrPrefixLen,
    bgp4PathAttrPeer
        FROM BGP4-MIB

    rsMgmt
        FROM REDSTONE-SMI;


rsBgpMIB  MODULE-IDENTITY
    LAST-UPDATED "200101040000Z"
    ORGANIZATION "Redstone Communications, Inc."
    CONTACT-INFO
        "
        Redstone Communications, Inc.
        5 Carlisle Road
        Westford MA 01886
        USA

        Tel:    +1-978-692-1999
        Email:  mib@redstonecom.com
        "
    DESCRIPTION
        "The BGP Protocol MIB for the
        Redstone Communications Inc. enterprise."

    REVISION      "200101150000Z"
    DESCRIPTION
        "o Added attributes rsBgp4PathAttrNextHopReachable and rsBgp4PathAttrNextHopMetric"
    REVISION      "200101040000Z"
    DESCRIPTION
        "o Added attribute rsBgpLocalRibVersion"
    REVISION      "200101030000Z"
    DESCRIPTION
        "o Added attribute rsBgpProcessedInternalChanges, rsBgpPendingInternalChanges, rsBgpProcessedExternalChanges, and
           rsBgpPendingExternalChanges"
    REVISION      "200012290000Z"
    DESCRIPTION
        "o Added attribute rsBgpEnforceFirstAs"
    REVISION      "200010130000Z"
    DESCRIPTION
        "o Added attribute rsBgpPeerDefaultOrigRouteMap"
        REVISION      "200010050000Z"
    DESCRIPTION
        "o Added attribute rsBgpHoldTimeConfigured
                 o Added attribute rsBgpKeepAliveConfigured"
    REVISION      "200007180000Z"
    DESCRIPTION
        "o Added attribute rsNetworkWeightSpecified
         o Added attribute rsNetworkWeightValue
         o Added attribute rsNetworkRouteMap"
    REVISION      "200005290000Z"
    DESCRIPTION
        "o Added attribute rsBgpAutoSummary"
    REVISION      "200005120000Z"
    DESCRIPTION
        "o Added attribute rsBgpMissingAsWorst"
    REVISION      "200004270000Z"
    DESCRIPTION
        "o Added attribute rsBgpPeerUnsuppressMap
         o Added attribute rsBgpAggregateSuppressMap
         o Minimum length of policy names is 0 (not 1)"
    REVISION      "200004120000Z"
    DESCRIPTION
        "o Changed type of attributes rsBgpAggregateAttributeMap and
           rsBgpAggregateAdvertiseMap from INTEGER to DisplayString.
                 o Zero-length route-map names are allowed to indicate absence
                   of a route-map
                 o Attribute rsBgpDampUseRouteMap has been removed. Instead
                   a zero length rsBgpDampRouteMap is used to indicate the 
                   absence of a route dampening route-map
                 o This revision is not backwards compatible with older 
                   revisions"
    REVISION      "200001110000Z"
    DESCRIPTION
        "Initial version of this MIB module."
    ::= { rsMgmt 29 }



-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Textual conventions
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

RsBgpPrefix ::= TEXTUAL-CONVENTION
    STATUS     current
    DESCRIPTION
        "Specifies a BGP prefix using the format X.X.X.X.Y where X.X.X.X
        represents an IpAddress and Y the lenght in bits. Since the ip
        address is composed of 4 octets, Y must be a value between 0 and
        32."
    SYNTAX       OCTET STRING (SIZE (5))

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Managed objects
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsBgpObjects                      OBJECT IDENTIFIER ::= { rsBgpMIB 1 }

-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP General Group attributes (scalars)
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsBgpGeneralGroup                 OBJECT IDENTIFIER ::= { rsBgpObjects 1 }

rsBgpLocalAsNumber                OBJECT-TYPE
    SYNTAX       INTEGER (1..65535)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The local autonomous system number.
        This object cannot be modified if bgp is enabled."
    ::= { rsBgpGeneralGroup 1 }

rsBgpEnabled                      OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to have bgp
        router enabled."
    ::= { rsBgpGeneralGroup 2 }

rsBgpSynchronization              OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to have IGP
        IGP route synchronization enabled."
    ::= { rsBgpGeneralGroup 3 }

rsBgpDefaultOriginate             OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to advertise
        a default route, if present."
    ::= { rsBgpGeneralGroup 4 }

rsBgpAlwaysCompareMed             OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to compare
        metrics for paths from neighors of different ASs."
    ::= { rsBgpGeneralGroup 5 }

rsBgpDefaultLocalPreference       OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The default local preference."
    DEFVAL  { 100 }
    ::= { rsBgpGeneralGroup 6 }

rsBgpEqualCostLimit               OBJECT-TYPE
    SYNTAX       INTEGER (1..2147483647)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The maximum equal cost paths to store in routing
        table."
    ::= { rsBgpGeneralGroup 7 }

rsBgpRouteReflector               OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "This object is true(1) if the bgp router is route
        reflector."
    ::= { rsBgpGeneralGroup 8 }

rsBgpClientToClientReflection     OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to have
        client-to-client route reflection enabled."
    ::= { rsBgpGeneralGroup 9 }

rsBgpClusterId                    OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The cluster ID. When this object is zero,
        the router ID will be used."
    ::= { rsBgpGeneralGroup 10 }

rsBgpConfederationId              OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The confederation ID. When this object is zero,
        the router is not in a confederation."
    ::= { rsBgpGeneralGroup 11 }

rsBgpExternalDistance             OBJECT-TYPE
    SYNTAX       INTEGER (1..255)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The administrative distance for external routes."
    ::= { rsBgpGeneralGroup 12 }

rsBgpInternalDistance             OBJECT-TYPE
    SYNTAX       INTEGER (1..255)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The administrative distance for internal routes."
    ::= { rsBgpGeneralGroup 13 }

rsBgpLocalDistance                OBJECT-TYPE
    SYNTAX       INTEGER (1..255)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The administrative distance for local routes."
    ::= { rsBgpGeneralGroup 14 }

rsBgpPrefixCount                  OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of distinct prefixes in the local RIB."
    ::= { rsBgpGeneralGroup 15 }

rsBgpPathCount                    OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of paths in the local RIB."
    ::= { rsBgpGeneralGroup 16 }

rsBgpSelectedPathCount            OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of paths selected for route table installation."
    ::= { rsBgpGeneralGroup 17 }

rsBgpPathAttributeCount           OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of entries in the path attribute database."
    ::= { rsBgpGeneralGroup 18 }

rsBgpPathAttributeTlvLength       OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Total length of all TLVs in the path attribute database."
    ::= { rsBgpGeneralGroup 19 }

rsBgpRouteFlapHistoryCount        OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of routes with active route flap histories."
    ::= { rsBgpGeneralGroup 20 }

rsBgpSuppressedRouteCount         OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of routes suppressed due to route flap."
    ::= { rsBgpGeneralGroup 21 }

rsBgpMissingAsWorst               OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "If this object is set to true(1) routes without a MED
                 attribute are considered worse than routes with a MED 
                 attribute. If this object is set to false(0) routes without
                 a MED attribute are considered better than routes with a MED
                 attribute."
    ::= { rsBgpGeneralGroup 22 }

rsBgpAutoSummary                  OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to automatically
                 summarize redistributed routes to their natural network mask."
    ::= { rsBgpGeneralGroup 23 }

rsBgpHoldTimeConfigured           OBJECT-TYPE
    SYNTAX       INTEGER ( 0 | 3..65536 )
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Time interval in seconds for the Hold Time configured for
                 this BGP speaker. Can be overriden for a specific peer
                 using the bgpPeerHoldTimeConfigured attribute of the
                 RFC 1657 MIB."
    ::= { rsBgpGeneralGroup 24 }

rsBgpKeepAliveConfigured          OBJECT-TYPE
    SYNTAX       INTEGER ( 0 | 1..65536 )
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Time interval in seconds for the Keep-alive interval configured
                 for this BGP speaker. Can be overriden for a specific peer
                 using the bgpPeerKeepAliveConfigured attribute of the
                 RFC 1657 MIB."
    ::= { rsBgpGeneralGroup 25 }

rsBgpEnforceFirstAs               OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to check the first as-number
                 in the as-path in routes received from ebgp peers."
    ::= { rsBgpGeneralGroup 26 }

rsBgpProcessedInternalChanges     OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of processed IBGP changes."
    ::= { rsBgpGeneralGroup 27 }

rsBgpPendingInternalChanges       OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of pending IBGP changes."
    ::= { rsBgpGeneralGroup 28 }

rsBgpProcessedExternalChanges     OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of processed EBGP changes."
    ::= { rsBgpGeneralGroup 29 }

rsBgpPendingExternalChanges       OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of pending EBGP changes."
    ::= { rsBgpGeneralGroup 30 }

rsBgpLocalRibVersion              OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "BGP's local-RIB version."
    ::= { rsBgpGeneralGroup 31 }

-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP Damping Group attributes (scalars)
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsBgpDampeningGroup               OBJECT IDENTIFIER ::= { rsBgpObjects 2 }

rsBgpDampEnabled                  OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to enable
        route flap dampening."
    ::= { rsBgpDampeningGroup 1 }

rsBgpDampCutoffThreshold          OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The dampening cutoff threshold (scaled)."
    ::= { rsBgpDampeningGroup 2 }

rsBgpDampReuseThreshold           OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The dampening reuse threshold (scaled)."
    ::= { rsBgpDampeningGroup 3 }

rsBgpDampMaxHoldDownTime          OBJECT-TYPE
    SYNTAX       INTEGER
    UNITS        "seconds"
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Maximum route holddown time, in seconds."
    ::= { rsBgpDampeningGroup 4 }

rsBgpDampHalfLifeOk               OBJECT-TYPE
    SYNTAX       INTEGER
    UNITS        "seconds"
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Figure of merit half life for reachable routes, in seconds."
    ::= { rsBgpDampeningGroup 5 }

rsBgpDampHalfLifeNg               OBJECT-TYPE
    SYNTAX       INTEGER
    UNITS        "seconds"
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Figure of merit half life for unreachable routes, in seconds."
    ::= { rsBgpDampeningGroup 6 }

rsBgpDampRouteMap                 OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The name of the route-map used to determine which routes are dampened
        and which aren't and to set the dampening parameters for those routes
        which are dampenend. A zero length route-map name means don't use a
                route-map for this."
        DEFVAL  { "" }
    ::= { rsBgpDampeningGroup 8 }

-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP Confederation Peer attributes
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--
--  BGP ConfederationPeer Table
--

rsBgpConfederationPeerTable       OBJECT-TYPE
    SYNTAX       SEQUENCE OF RsBgpConfederationPeerEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The Redstone BGP Confederation Peer Table describes the
        BGP-specific characteristics of confederation peers."
    ::= { rsBgpObjects 3 }

rsBgpConfederationPeerEntry       OBJECT-TYPE
    SYNTAX       RsBgpConfederationPeerEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The BGP Confederation Peer Entry describes BGP-specific
        characteristics of one confederation peer."
    INDEX { rsBgpConfederationPeerAsMumber }
    ::= { rsBgpConfederationPeerTable 1 }

RsBgpConfederationPeerEntry ::= SEQUENCE {
    rsBgpConfederationPeerAsMumber
        INTEGER,
    rsBgpConfederationPeerRowStatus
        RowStatus
    }

rsBgpConfederationPeerAsMumber    OBJECT-TYPE
    SYNTAX       INTEGER (0..65535)
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The AsNumber of this confederation peer."
    ::= { rsBgpConfederationPeerEntry 1 }

rsBgpConfederationPeerRowStatus   OBJECT-TYPE
    SYNTAX       RowStatus
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "Controls creation/deletion of entries in this table
        according to the RowStatus textual convention,
        constrained to support the following values only:

            createAndGo
            destroy
        "
    ::= { rsBgpConfederationPeerEntry 2 }


-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP Peer attributes
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--
--  BGP Peer Table
--

rsBgpPeerTable                    OBJECT-TYPE
    SYNTAX       SEQUENCE OF RsBgpPeerEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The Redstone BGP Peer Table describes the
        BGP-specific characteristics of peers."
    ::= { rsBgpObjects 4 }

rsBgpPeerEntry                    OBJECT-TYPE
    SYNTAX       RsBgpPeerEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The BGP Peer Entry describes BGP-specific
        characteristics of one peer."
    AUGMENTS { bgpPeerEntry }
    ::= { rsBgpPeerTable 1 }

RsBgpPeerEntry ::= SEQUENCE {
    rsBgpPeerRemoteAs
        INTEGER,
    rsBgpPeerDescription
        DisplayString,
    rsBgpPeerGroup
        DisplayString,
    rsBgpPeerRemoteRouterId
        IpAddress,
    rsBgpPeerExternal
        TruthValue,
    rsBgpPeerDefaultOriginate
        TruthValue,
    rsBgpPeerNextHopSelf
        TruthValue,
    rsBgpPeerSendCommunity
        TruthValue,
    rsBgpPeerWeight
        Unsigned32,
    rsBgpPeerInDistributeList
        DisplayString,
    rsBgpPeerOutDistributeList
        DisplayString,
    rsBgpPeerInPrefixList
        DisplayString,
    rsBgpPeerOutPrefixList
        DisplayString,
    rsBgpPeerInPrefixTree
        DisplayString,
    rsBgpPeerOutPrefixTree
        DisplayString,
    rsBgpPeerInFilterList
        DisplayString,
    rsBgpPeerOutFilterList
        DisplayString,
    rsBgpPeerWeightFilterList
        DisplayString,
    rsBgpPeerWeightFilterValue
        Unsigned32,
    rsBgpPeerInRouteMap
        DisplayString,
    rsBgpPeerOutRouteMap
        DisplayString,
    rsBgpPeerRouteReflectorClient
        TruthValue,
    rsBgpPeerEbgpMultihop
        TruthValue,
    rsBgpPeerEbgpMultihopTtl
        INTEGER,
    rsBgpPeerUpdateSource
        IpAddress,
    rsBgpPeerPathCount
        Unsigned32,
    rsBgpPeerSelectedPathCount
        Unsigned32,
    rsBgpPeerPathThreshold
        Unsigned32,
    rsBgpPeerPathLimit
        Unsigned32,
    rsBgpPeerPathLimitWarnOnly
        TruthValue,
    rsBgpPeerStripPrivateAsNumbers
        TruthValue,
    rsBgpPeerMd5Password
        OCTET STRING,
    rsBgpPeerMaxUpdateSize
        INTEGER,
    rsBgpPeerRowStatus
        RowStatus,
        rsBgpPeerUnsuppressMap
                DisplayString,
    rsBgpPeerDefaultOrigRouteMap
                DisplayString
    }

rsBgpPeerRemoteAs                 OBJECT-TYPE
    SYNTAX       INTEGER (1..65535)
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "The peer's autonomous system number.
        This object can only be set at row creation."
    ::= { rsBgpPeerEntry 1 }

rsBgpPeerDescription              OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (1..80))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Peer textual description."
    ::= { rsBgpPeerEntry 2 }

rsBgpPeerGroup                    OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (1..32))
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Peer group membership (null if none)."
    ::= { rsBgpPeerEntry 3 }

rsBgpPeerRemoteRouterId           OBJECT-TYPE
    SYNTAX       IpAddress
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Peer's remote router ID."
    ::= { rsBgpPeerEntry 4 }

rsBgpPeerExternal                 OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "This object is true if peer is external, false
        if internal."
    ::= { rsBgpPeerEntry 5 }

rsBgpPeerDefaultOriginate         OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to advertise
        a default route to this peer, if present."
    ::= { rsBgpPeerEntry 6 }

rsBgpPeerNextHopSelf              OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to always
        advertise this router as the next hop."
    ::= { rsBgpPeerEntry 7 }

rsBgpPeerSendCommunity            OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to send
        COMMUNITIES attributes in updates."
    ::= { rsBgpPeerEntry 8 }

rsBgpPeerWeight                   OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The weight assigned to routes learned from peer."
    ::= { rsBgpPeerEntry 9 }

rsBgpPeerInDistributeList         OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The inbound distribute IP access list name."
    ::= { rsBgpPeerEntry 10 }

rsBgpPeerOutDistributeList        OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The outbound distribute IP access list name."
    ::= { rsBgpPeerEntry 11 }

rsBgpPeerInPrefixList             OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The inbound IP prefix list name."
    ::= { rsBgpPeerEntry 12 }

rsBgpPeerOutPrefixList            OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The outbound IP prefix list name."
    ::= { rsBgpPeerEntry 13 }

rsBgpPeerInPrefixTree             OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The inbound IP prefix tree name."
    ::= { rsBgpPeerEntry 14 }

rsBgpPeerOutPrefixTree            OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The outbound IP prefix tree name."
    ::= { rsBgpPeerEntry 15 }

rsBgpPeerInFilterList             OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The inbound filter AS path list name."
    ::= { rsBgpPeerEntry 16 }

rsBgpPeerOutFilterList            OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The outbound filter AS path list name."
    ::= { rsBgpPeerEntry 17 }

rsBgpPeerWeightFilterList         OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The weight filter AS path list name."
    ::= { rsBgpPeerEntry 18 }

rsBgpPeerWeightFilterValue        OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The weight to apply on weight filter list matches."
    ::= { rsBgpPeerEntry 19 }

rsBgpPeerInRouteMap               OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The inbound route-map name.
         An empty string means no inbound route-map."
        DEFVAL  { "" }
    ::= { rsBgpPeerEntry 20 }

rsBgpPeerOutRouteMap              OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The outbound route-map name.
         An empty string means no outbound route-map."
        DEFVAL  { "" }
    ::= { rsBgpPeerEntry 21 }

rsBgpPeerRouteReflectorClient     OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The peer is a route reflector client."
    ::= { rsBgpPeerEntry 22 }

rsBgpPeerEbgpMultihop             OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The EBGP multihop is enabled."
    ::= { rsBgpPeerEntry 23 }

rsBgpPeerEbgpMultihopTtl          OBJECT-TYPE
    SYNTAX       INTEGER (1..255)
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Maximum number of hops to the external peer (only relevant if EBGP multihop turned on)."
    ::= { rsBgpPeerEntry 24 }

rsBgpPeerUpdateSource             OBJECT-TYPE
    SYNTAX       IpAddress
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The source IP address for peer connections."
    ::= { rsBgpPeerEntry 25 }

rsBgpPeerPathCount                OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "The number of paths received from this peer."
    ::= { rsBgpPeerEntry 26 }

rsBgpPeerSelectedPathCount        OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "The number of paths selected for route table installation."
    ::= { rsBgpPeerEntry 27 }

rsBgpPeerPathThreshold            OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Log a warning if pathCount exceeds this value."
    ::= { rsBgpPeerEntry 28 }

rsBgpPeerPathLimit                OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Reset connection is pathCount exceeds this value."
    ::= { rsBgpPeerEntry 29 }

rsBgpPeerPathLimitWarnOnly        OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Warn, but do not reset, if the path limit is exceeded."
    ::= { rsBgpPeerEntry 30 }

rsBgpPeerStripPrivateAsNumbers    OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Remove private AS numbers from AS paths."
    ::= { rsBgpPeerEntry 31 }

rsBgpPeerMd5Password              OBJECT-TYPE
    SYNTAX       OCTET STRING (SIZE (1..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The password for MD5 authentication. Reading this object
        always results in an OCTET STRING of length zero."
    ::= { rsBgpPeerEntry 32 }

rsBgpPeerMaxUpdateSize            OBJECT-TYPE
    SYNTAX       INTEGER
    UNITS        "bytes"
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The maximum size in bytes of transmitted UPDATE messages."
    ::= { rsBgpPeerEntry 33 }

rsBgpPeerRowStatus                OBJECT-TYPE
    SYNTAX       RowStatus
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "Controls creation/deletion of entries in this table
        according to the RowStatus textual convention,
        constrained to support the following values only:

            createAndGo
            destroy

        To create an entry in this table, the following
        entry objects MUST be explicitly configured:

            rsBgpPeerRemoteAs
        "
    ::= { rsBgpPeerEntry 34 }

rsBgpPeerUnsuppressMap            OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The unsuppress route-map name.
                 Routes which are sent to this peer and which match this route-map
                 are not subject to suppression by summary-only aggregates.
         An empty string means no unsuppress route-map."
        DEFVAL  { "" }
    ::= { rsBgpPeerEntry 35 }

rsBgpPeerDefaultOrigRouteMap         OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "The route map used to originate default route. An empty string means 
         originate default route with no route map."
    ::= { rsBgpPeerEntry 36 }


-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP 4 Path attributes
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--
--  BGP 4 Path Attribute Table
--

rsBgp4PathAttrTable               OBJECT-TYPE
    SYNTAX       SEQUENCE OF RsBgp4PathAttrEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The BGP-4 Received Path Attribute Table
        contains additional information about paths
        to destination networks received from all
        BGP4 peers."
    ::= { rsBgpObjects 5 }

rsBgp4PathAttrEntry               OBJECT-TYPE
    SYNTAX       RsBgp4PathAttrEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "Additional information about a path to a
        network."
    AUGMENTS { bgp4PathAttrEntry }
    ::= { rsBgp4PathAttrTable 1 }

RsBgp4PathAttrEntry ::= SEQUENCE {
    rsBgp4PathAttrOriginatorId
        IpAddress,
    rsBgp4PathAttrOriginPresent
        TruthValue,
    rsBgp4PathAttrAsPathPresent
        TruthValue,
    rsBgp4PathAttrNextHopPresent
        TruthValue,
    rsBgp4PathAttrMedPresent
        TruthValue,
    rsBgp4PathAttrLocalPrefPresent
        TruthValue,
    rsBgp4PathAttrAggregatorPresent
        TruthValue,
    rsBgp4PathAttrCommunitiesPresent
        TruthValue,
    rsBgp4PathAttrOriginatorIdPresent
        TruthValue,
    rsBgp4PathAttrClusterListPresent
        TruthValue,
    rsBgp4PathAttrWeight
        Unsigned32,
    rsBgp4PathAttrImported
        TruthValue,
        rsBgp4PathAttrNextHopReachable
                TruthValue,
        rsBgp4PathAttrNextHopMetric
                INTEGER
    }

rsBgp4PathAttrOriginatorId        OBJECT-TYPE
    SYNTAX       IpAddress
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Route reflector originator ID."
    ::= { rsBgp4PathAttrEntry 1 }

rsBgp4PathAttrOriginPresent       OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Origin attribute was present."
    ::= { rsBgp4PathAttrEntry 2 }

rsBgp4PathAttrAsPathPresent       OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "As_Path attribute was present."
    ::= { rsBgp4PathAttrEntry 3 }

rsBgp4PathAttrNextHopPresent      OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Next_Hop attribute was present."
    ::= { rsBgp4PathAttrEntry 4 }

rsBgp4PathAttrMedPresent          OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Multi_Exit_Desc attribute was present."
    ::= { rsBgp4PathAttrEntry 5 }

rsBgp4PathAttrLocalPrefPresent    OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Local_Pref attribute was present."
    ::= { rsBgp4PathAttrEntry 6 }

rsBgp4PathAttrAggregatorPresent   OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Aggregator attribute was present."
    ::= { rsBgp4PathAttrEntry 7 }

rsBgp4PathAttrCommunitiesPresent  OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Communities attribute was present."
    ::= { rsBgp4PathAttrEntry 8 }

rsBgp4PathAttrOriginatorIdPresent OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Originator_Id attribute was present."
    ::= { rsBgp4PathAttrEntry 9 }

rsBgp4PathAttrClusterListPresent  OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Cluster_List attribute was present."
    ::= { rsBgp4PathAttrEntry 10 }

rsBgp4PathAttrWeight              OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "The path attribute weight."
    ::= { rsBgp4PathAttrEntry 11 }

rsBgp4PathAttrImported            OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Route was imported (via redistribution or a network command)."
    ::= { rsBgp4PathAttrEntry 12 }

rsBgp4PathAttrNextHopReachable    OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "The next-hop of this route is reachable."
    ::= { rsBgp4PathAttrEntry 13 }

rsBgp4PathAttrNextHopMetric       OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "The IGP metric to the next-hop of this route."
    ::= { rsBgp4PathAttrEntry 14 }

--
--  BGP 4 Path Community Table
--

rsBgp4PathCommunityTable          OBJECT-TYPE
    SYNTAX       SEQUENCE OF RsBgp4PathCommunityEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The BGP-4 Path Community Table contains information about
        communities within destination networks received from all
        BGP4 peers."
    ::= { rsBgpObjects 6 }

rsBgp4PathCommunityEntry          OBJECT-TYPE
    SYNTAX       RsBgp4PathCommunityEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "Community attribute information within a path to a
        network."
    INDEX { bgp4PathAttrIpAddrPrefix,
            bgp4PathAttrIpAddrPrefixLen,
            bgp4PathAttrPeer,
            rsBgp4PathCommunityNumber }
    ::= { rsBgp4PathCommunityTable 1 }

RsBgp4PathCommunityEntry ::= SEQUENCE {
    rsBgp4PathCommunityNumber
        Unsigned32
    }

rsBgp4PathCommunityNumber         OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "The community number."
    ::= { rsBgp4PathCommunityEntry 1 }

--
--  BGP 4 Path ClusterId Table
--

rsBgp4PathClusterIdTable          OBJECT-TYPE
    SYNTAX       SEQUENCE OF RsBgp4PathClusterIdEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The BGP-4 Path ClusterId Table contains information about
        router reflector cluster IDs."
    ::= { rsBgpObjects 7 }

rsBgp4PathClusterIdEntry          OBJECT-TYPE
    SYNTAX       RsBgp4PathClusterIdEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "ClusterId attribute information within a path to a
        network."
    INDEX { bgp4PathAttrIpAddrPrefix,
            bgp4PathAttrIpAddrPrefixLen,
            bgp4PathAttrPeer,
            rsBgp4PathClusterId }
    ::= { rsBgp4PathClusterIdTable 1 }

RsBgp4PathClusterIdEntry ::= SEQUENCE {
    rsBgp4PathClusterId
        Unsigned32
    }

rsBgp4PathClusterId               OBJECT-TYPE
    SYNTAX       Unsigned32
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "The cluster id."
    ::= { rsBgp4PathClusterIdEntry 1 }

-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP Route Flap History attributes
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsBgpRouteFlapHistoryClear        OBJECT-TYPE
    SYNTAX       RsBgpPrefix
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object in order to clear route flap entries from the
        rsBgpRouteFlapHistoryTable. There are basically 2 ways of using
        this object: 1) set it with the prefix 0.0.0.0.0 to clear all
        entries or 2) set it with a prefix to clear only entries that
        were registered under the prefix provided. Reading from this
        scalar will always yield 0.0.0.0.0"
    ::= { rsBgpObjects 8 }

--
--  BGP Route Flap History Table
--

rsBgpRouteFlapHistoryTable        OBJECT-TYPE
    SYNTAX       SEQUENCE OF RsBgpRouteFlapHistoryEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The BGP Route Flap History Table
        contains information about recorded
        route flap events."
    ::= { rsBgpObjects 9 }

rsBgpRouteFlapHistoryEntry        OBJECT-TYPE
    SYNTAX       RsBgpRouteFlapHistoryEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "An instance in the list of route
        flap events."
    INDEX { bgp4PathAttrIpAddrPrefix,
            bgp4PathAttrIpAddrPrefixLen,
            bgp4PathAttrPeer }
    ::= { rsBgpRouteFlapHistoryTable 1 }

RsBgpRouteFlapHistoryEntry ::= SEQUENCE {
    rsBgpRouteFlapState
        INTEGER,
    rsBgpRouteFlapFigureOfMerit
        INTEGER,
    rsBgpRouteFlapTime
        Unsigned32,
    rsBgpRouteFlapCutoffThreshold
        INTEGER,
    rsBgpRouteFlapReuseThreshold
        INTEGER,
    rsBgpRouteFlapMaxHoldDownTime
        INTEGER,
    rsBgpRouteFlapHalfLifeOk
        INTEGER,
    rsBgpRouteFlapHalfLifeNg
        INTEGER
    }

rsBgpRouteFlapState               OBJECT-TYPE
    SYNTAX       INTEGER    {
                    stateAvailable(1),
                    stateSuppressedReachable(2),
                    stateSuppressedUnreachable(3)
                 }
                 -- stateAvailable(1) indicates path is available
                 -- stateSuppressedReachable(2) indicates path is suppressed, destination is reachable
                 -- stateSuppressedUnreachable(3) indicates path in suppressed, destination is not reachable
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Current state."
    ::= { rsBgpRouteFlapHistoryEntry 1 }

rsBgpRouteFlapFigureOfMerit       OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Calculated figure-of-merit."
    ::= { rsBgpRouteFlapHistoryEntry 2 }

rsBgpRouteFlapTime                OBJECT-TYPE
    SYNTAX       Unsigned32
    UNITS        "seconds"
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Number of seconds until reuse or removal."
    ::= { rsBgpRouteFlapHistoryEntry 3 }

rsBgpRouteFlapCutoffThreshold     OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Damping cutoff threshold (scaled)."
    ::= { rsBgpRouteFlapHistoryEntry 4 }

rsBgpRouteFlapReuseThreshold      OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Damping reuse threshold (scaled)."
    ::= { rsBgpRouteFlapHistoryEntry 5 }

rsBgpRouteFlapMaxHoldDownTime     OBJECT-TYPE
    SYNTAX       INTEGER
    UNITS        "seconds"
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Maximum route holddown time (seconds)."
    ::= { rsBgpRouteFlapHistoryEntry 6 }

rsBgpRouteFlapHalfLifeOk          OBJECT-TYPE
    SYNTAX       INTEGER
    UNITS        "seconds"
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Figure of merit half life for reachable routes (seconds)."
    ::= { rsBgpRouteFlapHistoryEntry 7 }

rsBgpRouteFlapHalfLifeNg          OBJECT-TYPE
    SYNTAX       INTEGER
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "Figure of merit half life for unreachable routes (seconds)."
    ::= { rsBgpRouteFlapHistoryEntry 8 }

-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP Network attributes
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--
--  BGP Network Table
--

rsBgpNetworkTable                 OBJECT-TYPE
    SYNTAX       SEQUENCE OF RsBgpNetworkEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The BGP Network Table controls what networks
        are originated by this BGP router."
    ::= { rsBgpObjects 10 }

rsBgpNetworkEntry                 OBJECT-TYPE
    SYNTAX       RsBgpNetworkEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "An instance in the list of networks originated
        by this BGP router."
    INDEX { bgp4PathAttrIpAddrPrefix,
            bgp4PathAttrIpAddrPrefixLen }
    ::= { rsBgpNetworkTable 1 }

RsBgpNetworkEntry ::= SEQUENCE {
    rsBgpNetworkBackdoor
        TruthValue,
    rsBgpNetworkRowStatus
        RowStatus,
        rsBgpNetworkWeightSpecified
                TruthValue,
        rsBgpNetworkWeightValue
                INTEGER,
        rsBgpNetworkRouteMap
                DisplayString
}

rsBgpNetworkBackdoor              OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to enable
        BGP backdoor in this network. This object can
         only be set at row creation."
    DEFVAL  { false }
    ::= { rsBgpNetworkEntry 1 }

rsBgpNetworkRowStatus             OBJECT-TYPE
    SYNTAX       RowStatus
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "Controls creation/deletion of entries in this table
        according to the RowStatus textual convention,
        constrained to support the following values only:

            createAndGo
            destroy
        "
    ::= { rsBgpNetworkEntry 2 }

rsBgpNetworkWeightSpecified       OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "If this object is set to true(1) then the BGP weight
                 of this network is set to the value specified in
                 rsBgpNetworkWeightValue. This object can only be set 
                 at row creation."
    DEFVAL  { false }
    ::= { rsBgpNetworkEntry 3 }

rsBgpNetworkWeightValue           OBJECT-TYPE
    SYNTAX       INTEGER (0..65535)
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "If rsBgpNetworkWeight specified is set to true(1) then
                 this object specifies the weight of the network. Otherwise
                 the weight of the network is determined by the IGP metric
                 of the prefix. This object can only be set at row creation."
    ::= { rsBgpNetworkEntry 4 }

rsBgpNetworkRouteMap              OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
            "The name of the route-map used to set the path attributes of this
                 network.  A zero length route-map name means don't use a route-map 
                 for this. This object can only be set at row creation."
        DEFVAL  { "" }
    ::= { rsBgpNetworkEntry 5 }

-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP Aggregate attributes
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--
--  BGP Aggregate Table
--

rsBgpAggregateTable               OBJECT-TYPE
    SYNTAX       SEQUENCE OF RsBgpAggregateEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "The BGP Aggregate Table controls the consolidation of
        route information."
    ::= { rsBgpObjects 11 }

rsBgpAggregateEntry               OBJECT-TYPE
    SYNTAX       RsBgpAggregateEntry
    MAX-ACCESS   not-accessible
    STATUS       current
    DESCRIPTION
        "An instance in the list of route aggregation."
    INDEX { bgp4PathAttrIpAddrPrefix,
            bgp4PathAttrIpAddrPrefixLen }
    ::= { rsBgpAggregateTable 1 }

RsBgpAggregateEntry ::= SEQUENCE {
    rsBgpAggregateAsSet
        TruthValue,
    rsBgpAggregateSummaryOnly
        TruthValue,
    rsBgpAggregateAttributeMap
        DisplayString,
    rsBgpAggregateAdvertiseMap
        DisplayString,
    rsBgpAggregateRowStatus
        RowStatus,
        rsBgpAggregateSuppressMap
                DisplayString
}

rsBgpAggregateAsSet               OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to generate
        AS_set path information by creating an aggregate entry
        that consists of all elements contained in all paths
        that are being summarized. This object can only be set
        at row creation."
    DEFVAL  { false }
    ::= { rsBgpAggregateEntry 1 }

rsBgpAggregateSummaryOnly         OBJECT-TYPE
    SYNTAX       TruthValue
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "Set this object to true(1) in order to filter specific
        routes from updates. By doing that, advertisements of more
        specific routes will be suppressed to all neighbors.
        This object can only be set at row creation."
    DEFVAL  { false }
    ::= { rsBgpAggregateEntry 2 }

rsBgpAggregateAttributeMap        OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "The name of the route-map used to set the attributes of the aggregate
         An empty string means no route-map for this purpose."
        DEFVAL  { "" }
    ::= { rsBgpAggregateEntry 3 }

rsBgpAggregateAdvertiseMap        OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "The name of the route-map used to select routes covered by the 
         aggregate (for as-set aggregates the path attributes of the
                 aggregate route are created by summarizing the path attributes
                 of the covered routes)
         An empty string means no route-map for this purpose."
    DEFVAL  { "" }
    ::= { rsBgpAggregateEntry 4 }

rsBgpAggregateRowStatus           OBJECT-TYPE
    SYNTAX       RowStatus
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "Controls creation/deletion of entries in this table
        according to the RowStatus textual convention,
        constrained to support the following values only:

            createAndGo
            destroy
        "
    ::= { rsBgpAggregateEntry 5 }

rsBgpAggregateSuppressMap         OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..32))
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        "The suppress route-map name.
                 If a suppress route-map has been specified, all routes which are
                 covered by the aggregate and which match the suppress route-map
                 are suppressed.
         An empty string means no inbound route-map."
        DEFVAL  { "" }
    ::= { rsBgpAggregateEntry 6 }

-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- BGP Reset Connection Group attributes (scalars)
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsBgpResetConnectionGroup         OBJECT IDENTIFIER ::= { rsBgpObjects 12 }

rsBgpResetConnectionType          OBJECT-TYPE
    SYNTAX       INTEGER    {
                    resetTypeNoop(0),
                    resetTypeHard(1),
                    resetTypeSoftIn(2),
                    resetTypeSoftOut(3),
                    resetTypeSoftInOut(4)
                 }
                 -- resetTypeNoop(0) indicates a noop
                 -- resetTypeHard(1) indicates hard reset
                 -- resetTypeSoftIn(2) indicates inbound soft reconfiguration
                 -- resetTypeSoftOut(3) indicates outbound soft reconfiguration
                 -- resetTypeSoftInOut(4) indicates inbound and outbound soft reconfiguration
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object in order to force a BGP connection reset.
        When setting this object by itself in an PDU, the reset type
        specified will be applied to all connections. Conversely, use
        the other objects under the rsBgpResetConnectionGroup to further
        specify the connections the reset applies to.
        When reading from this object, resetTypeNoop(0) will be returned."
    ::= { rsBgpResetConnectionGroup 1 }

rsBgpResetConnectionIpAddress     OBJECT-TYPE
    SYNTAX       IpAddress
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object in order to force a BGP connection reset.
        This object must be used in conjunction with
        rsBgpResetConnectionType. When setting this object by itself
        in an PDU, an error status will be returned.
        When reading from this object, the address 0.0.0.0 will be returned."
    ::= { rsBgpResetConnectionGroup 2 }

rsBgpResetConnectionName          OBJECT-TYPE
    SYNTAX       DisplayString (SIZE (0..255))
    MAX-ACCESS   read-write
    STATUS       current
    DESCRIPTION
        "Set this object in order to force a BGP connection reset.
        This object must be used in conjunction with
        rsBgpResetConnectionType. When setting this object by itself
        in an PDU, an error status will be returned.
        When reading from this object, a DisplayString of size zero will
        be returned."
    ::= { rsBgpResetConnectionGroup 3 }

END